package com.lzy.wzy.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Validated
public class ExceptionReportBean {
    @NotBlank(message = "序列号不能为空")
    private String serialNumber;

    @NotBlank(message = "产品型号不能为空")
    private String productNumber;

    @NotBlank(message = "产品编码不能为空")
    private String productCode;

    @NotBlank(message = "异常信息不能为空")
    private String accidentDetails;


    private String reportFilePath;


    private String reporter;


    private LocalDateTime reporterDate;

    @NotBlank(message = "工单号不能为空")
    private String workOrderNumber;


    private String status;

    private String workOrderStatus;
}
